package com.ad.pet.app.account;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;

import com.ad.pet.R;
import com.ad.pet.app.Navigation;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.common.structure.ui.activity.AppToolbarActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by liuyixiang on 2019/10/28.
 */

public class CollectionSelectorActivity extends AppToolbarActivity {
    @BindView(R.id.relative_door)
    RelativeLayout relativeDoor;
    @BindView(R.id.recycelr_bottom)
    RelativeLayout recycelrBottom;
    @BindView(R.id.relative_collection)
    RelativeLayout relativeCollection;

    @Override
    protected void init(Bundle savedInstanceState) {
        mStatusLayoutManager.showContent();
        mToolbar.setBackgroundColor(getResources().getColor(R.color.colorAccent));
        mToolbar.setLeftIcon(R.drawable.whitefanhui);
    }

    @Override
    protected int contentLayout() {
        return R.layout.activity_collection_select;
    }

    @Override
    protected void clickRetry(View v) {

    }

    @Override
    protected void initViews() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvents() {

        relativeCollection.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Navigation.goCollectin(mActivity);
            }
        });
        recycelrBottom.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Navigation.goServiceCollecion(mActivity);
            }
        });
        relativeDoor.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Navigation.goAritcleCollection(mActivity);
            }
        });
    }

    @Override
    public void initInject() {

    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
